﻿using System.Windows;

namespace mvvm4
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class View : Window
    {
        public View()
        {
            InitializeComponent();
            var vm = new ViewModel();
            DataContext = vm;
            var d = new dataview(vm);
            d.Show();
        }
    }
}